package com.bbzn.device.client.dao.app;

import com.bbzn.device.client.dataobject.AppVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author wulongbo
 * @Date 2021/5/10 10:01
 * @Version 1.0
 */
public interface AppVersionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AppVersion record);

    int insertOrUpdate(AppVersion record);

    int insertOrUpdateSelective(AppVersion record);

    int insertSelective(AppVersion record);

    AppVersion selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AppVersion record);

    int updateByPrimaryKey(AppVersion record);

    int updateBatch(List<AppVersion> list);

    int updateBatchSelective(List<AppVersion> list);

    int batchInsert(@Param("list") List<AppVersion> list);

    List<AppVersion> selectSelective(AppVersion record) throws Exception;
}